package com.hulu.yec.teach.examrecords.entity;

import java.util.Date;

import com.hulu.yec.common.annotation.Column;

/**
 * 考试记录实体
 * 
 * @author hf001
 * 2016年3月16日
 */
public class ExamRecordsEntity {

	// Fields

	private int id;
	@Column("user_id")
	private int userId;
	@Column("exam_plan_id")
	private int examPlanId;
	@Column("get_point")
	private int getPoint;
	@Column("submit_time")
	private Date submitTime;
	@Column("start_time")
	private Date startTime;
	@Column("is_pass")
	private int isPass;
	
	//扩展属性
	@Column("sysUser.name")
	private String userName;
	@Column("qesExamPaper.name")
	private String paperName;
	@Column("qesExamPaper.totalPoint")
	private int totalPoint;
	

	// Constructors

	public String getUserName() {
		return userName;
	}


	public int getTotalPoint() {
		return totalPoint;
	}


	public void setTotalPoint(int totalPoint) {
		this.totalPoint = totalPoint;
	}


	public void setUserName(String userName) {
		this.userName = userName;
	}


	public String getPaperName() {
		return paperName;
	}


	public void setPaperName(String paperName) {
		this.paperName = paperName;
	}


	public ExamRecordsEntity() {
	}


	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return this.userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getExamPlanId() {
		return this.examPlanId;
	}

	public void setExamPlanId(int examPlanId) {
		this.examPlanId = examPlanId;
	}

	public int getGetPoint() {
		return this.getPoint;
	}

	public void setGetPoint(int getPoint) {
		this.getPoint = getPoint;
	}

	public Date getSubmitTime() {
		return this.submitTime;
	}

	public void setSubmitTime(Date submitTime) {
		this.submitTime = submitTime;
	}

	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public int getIsPass() {
		return this.isPass;
	}

	public void setIsPass(int isPass) {
		this.isPass = isPass;
	}


	@Override
	public String toString() {
		return "ExamRecordsEntity [id=" + id + ", userId=" + userId
				+ ", examPlanId=" + examPlanId + ", getPoint=" + getPoint
				+ ", submitTime=" + submitTime + ", startTime=" + startTime
				+ ", isPass=" + isPass + ", userName=" + userName
				+ ", paperName=" + paperName + "]";
	}

	
}